package com.hyy.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class PasswordLoginParam extends UserLoginParam{

    /*
    * 手机或者邮箱*/
    @NotBlank(message="手机或者邮箱不能为空")
    private String loginName;

    /*
    * 密码*/
    @NotBlank(message="密码不能为空")
    private String password;
}
